/**
 * 
 * @author zhaohongchao
 * @email 70375739@qq.com
 * @date 2019年3月13日 下午5:01:35
 * @filename EatOrderForm.java
 */
package com.richest.api.controller.form;

import java.util.Date;
import java.util.List;
import java.util.Map;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModelProperty;

/**
 * 
 * @author zhaohongchao
 * @email 70375739@qq.com
 * @date 2019年3月13日 下午5:01:35
 * @filename EatOrderForm.java
 */
public class EatOrderForm {
	@ApiModelProperty(value = "用户id")
	@NotBlank(message = "不能为空")
	String user_id;

	@ApiModelProperty(value = "店铺id")
	@NotBlank(message = "不能为空")
	String admart_id;

	@ApiModelProperty(value = "餐桌/包房")
	String dining_table_id;

	@ApiModelProperty(value = "优惠/活动id")
	String user_extension_id;

	@ApiModelProperty(value = "备注/口味")
	String description;

	@ApiModelProperty(value = "菜品信息")
	List<Map<String, Object>> good_list;

	@ApiModelProperty(value = "就餐开始时间")
	Date begin_time;

	@ApiModelProperty(value = "就餐结束时间时间")
	Date end_time;

	@ApiModelProperty(value = "订单类型：0-点餐；1-加菜")
	String type;

	@ApiModelProperty(value = "联系人")
	String user;

	@ApiModelProperty(value = "联系电话")
	String phone;

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getAdmart_id() {
		return admart_id;
	}

	public void setAdmart_id(String admart_id) {
		this.admart_id = admart_id;
	}

	public String getDining_table_id() {
		return dining_table_id;
	}

	public void setDining_table_id(String dining_table_id) {
		this.dining_table_id = dining_table_id;
	}

	public String getUser_extension_id() {
		return user_extension_id;
	}

	public void setUser_extension_id(String user_extension_id) {
		this.user_extension_id = user_extension_id;
	}

	public List<Map<String, Object>> getGood_list() {
		return good_list;
	}

	public void setGood_list(List<Map<String, Object>> good_list) {
		this.good_list = good_list;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getBegin_time() {
		return begin_time;
	}

	public void setBegin_time(Date begin_time) {
		this.begin_time = begin_time;
	}

	public Date getEnd_time() {
		return end_time;
	}

	public void setEnd_time(Date end_time) {
		this.end_time = end_time;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

}
